Describe SharedPreference storage..
1496
01-Jun-2015
Anonymous User
01-Jun-2015Here MyData is the name of XML file .It will be created automatically for you.
Public static final String DEFAULT=”N? A”;
DEFAULT is a String type user defined global variable.If the data is not saved in XML file and user click on load button then your application will not give the error. It will show message “No Data is found”. Here name and pass are same variables that I have used in MainActivity.